package com.ys.nms.module.business.controller.admin.companyProperty.vo;

import com.ys.nms.framework.common.pojo.PageParam;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDateTime;
import java.util.List;
import java.util.Set;

import static com.ys.nms.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;


@Schema(description = "管理后台 - 资产分页 Request VO")
@Data
public class CompanyPropertyPageReqVO extends PageParam {

    @Schema(description = "IP地址", example = "赵六")
    private String hostName;

    @Schema(description = "名称", example = "芋艿")
    private String name;

    @Schema(description = "设备类型", example = "2")
    private Long deviceType;

    @Schema(description = "区域")
    private Long area;

    @Schema(description = "区域")
    private Set<Long> areaIds;

    @Schema(description = "创建时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] createTime;


    @Schema(description = "1为在线")
    private String status;

    @Schema(description = "是否启用snmp，0为启用，其他为禁用")
    private Integer snmpDisable;

    @Schema(description = "设备状态/监控状态,0为启用")
    private Integer disabled;


    //设备ID集合
    private List<Integer> idList;


}